package com.reebake.ideal.security.dao;

import com.reebake.ideal.security.core.GenericAuthenticationToken;
import lombok.Getter;
import lombok.Setter;
import org.springframework.security.core.GrantedAuthority;

import java.util.Collection;

@Setter
@Getter
public class UsernamePasswordAuthenticationToken extends GenericAuthenticationToken {
    private Object captcha;

    public UsernamePasswordAuthenticationToken(Object credentials) {
        super(credentials);
    }

    public UsernamePasswordAuthenticationToken(Object principal, Object credentials, Collection<? extends GrantedAuthority> authorities) {
        super(principal, credentials, authorities);
    }
}